home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- M Y C R O F T S Y S T E M S D O O R I / O L I B R A R Y
-
- Users Manual
-
- for version 3.00 04/06/90
-
-
-
- I M P O R T A N T
-
- This document is just a working template for the DM library version
- 3.00 code. It lists a tentative functions as currently planned. Note
- that using this version of the library you will have to adapt from
- time to time as new releases are made, or generate "freeze" versions
- for use with a door you are working on.
-
- In general refer to the file DM.DOC for current function documentation.
- I will try to keep this as up to date as possible. Please note that
- since this is a "pre-release" and will not be totally stable that you
- should not distribute the library in any form.
-
- At present, I hope to have a full 3.xx ready to use sometime during the
- summer. For now you should find the existing routines are more than
- adequate to write doors with. With version 3.00 we have changed the
- I/O from BIOS calls to direct interrupt driven access (or optionally to
- use a fossil driver) with full high speed modem support.
-
- Should you have any any questions, please feel free to contact me on
- the BBS at (408)927-0105, or voice Mon-Sat 10:00a to 7:00p PST at
- (408)268-7981.
-
-
- i
-
- T A B L E O F C O N T E N T S
-
-
-
- DISCLAIMER . . . . . . . . . . . . . . . . . . . . . . . . . . . . i
-
- USER NOTICE . . . . . . . . . . . . . . . . . . . . . . . . . . . . i
-
- LICENSE AGREEMENT . . . . . . . . . . . . . . . . . . . . . . . . . i
-
- Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . x
-
- Distribution files. . . . . . . . . . . . . . . . . . . . . . . . . x
-
- Compiling the library . . . . . . . . . . . . . . . . . . . . . . . x
-
- Compatibility with previous versions. . . . . . . . . . . . . . . . x
-
- The include files . . . . . . . . . . . . . . . . . . . . . . . . . x
-
- The libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . x
-
- Theory and authors notes. . . . . . . . . . . . . . . . . . . . . . x
- Standard command line format x
- BIOS, Fossil, Direct & Interrupt I/O x
- Shared file access x
- Managing multiple sessions x
- Inter node communication x
- SysOp keys x
- Automated Installation Utility x
- Bug Report Utility x
- BBS interfaces and default values x
- Giving the SysOp some control x
- Serialization & program security x
-
- The sample programs . . . . . . . . . . . . . . . . . . . . . . . . x
- BBSInfo Simple BBS information dump x
- Jokes Sample multilingual message base x
- MasterMind Sample game with user file interface x
- Opinion Sample menu usage x
- RBE Sample editor usage x
- Shell A minimal DOS shell x
- Template Template for new doors x
-
- DM initialization . . . . . . . . . . . . . . . . . . . . . . . . . x
- DM_Init (new) Initialize DM library x
- DM_Close (new) Release all resources & exit x
- DM_Credits (new) Show author credits x
-
- Low level modem services. . . . . . . . . . . . . . . . . . . . . . x
- DM_ModemCarrier MODEM_CARRIER Test for carrier detect x
- DM_ModemStatus MODEM_STATUS Test for modem character x
- DM_ModemInput MODEM_INPUT Input chara from modem x
- DM_ModemOutput MODEM_OUTPUT Output char to modem x
-
- Low level local services. . . . . . . . . . . . . . . . . . . . . . x
- DM_LocalStatus LOCAL_STATUS Test for local character x
- DM_LocalInput LOCAL_INPUT Input char from local CRT x
- DM_LocalOutput LOCAL_OUTPUT Output char to local screen x
-
- Additional local services . . . . . . . . . . . . . . . . . . . . . x
- DM_LocalCls LOCAL_CLS Clear local display x
- DM_LocalBell LOCAL_BELL Ring local bell x
- DM_LocalPrint LOCAL_PRINT Print local message x
- DM_GetLocalCursor GET_LOCAL_CURSORGet local cursor position x
- DM_SetLocalCursor SET_LOCAL_CURSORSet local cursor position x
- DM_LocalCursorStyle NO_CURSOR Set local cursor size x
- " SMALL_CURSOR
- " MEDIUM_CURSOR
- " LARGE_CURSOR
- DM_SetBanner SET_LOCAL_BANNERInitialize program banner x
- DM_PutBanner PUT_LOCAL_BANNERDisplay local banner x
-
- Main I/O services . . . . . . . . . . . . . . . . . . . . . . . . . x
- DM_IoTests IO_TESTS Test virtual console errors x
- DM_IoStatus IO_STATUS Test virtual console status x
- DM_IoInput IO_INPUT Input from virtual console x
- DM_IoOutput PRINT_CHAR Output to virtual console x
- " PRINT_CHARX
-
- Keyboard services . . . . . . . . . . . . . . . . . . . . . . . . . x
- DM_IoLineInput IO_LINPUT Read a line from virtual c. x
- " IO_LXINPUT
- " IO_LEXINPUT
-
- Screen control services . . . . . . . . . . . . . . . . . . . . . . x
- DM_IoPositionCursor POSITION_CURSOR Position cursor x
- DM_IoCls CLS_DISPLAY Clear screen x
- " CLS2_DISPLAY
- DM_IoErase (new) Erase rectangle x
- DM_IoEol EOL_DISPLAY Erase to end of line x
- DM_IoSave (new) Save a section of the screen x
- DM_IoRestore (new) Restore a section of the scr x
- DM_IoShadow (new) Enable/disable shadowing x
-
- Color control . . . . . . . . . . . . . . . . . . . . . . . . . . . x
- DM_Color (new) Setup color table x
- DM_SetColors (new) Select a color set x
-
- Message services. . . . . . . . . . . . . . . . . . . . . . . . . . x
- DM_IoPrint PRINT_STRING Print string to vir. console x
- DM_IoGetMessage (new) Get a message pointer x
- DM_IoPrintMessage (new) Print msg to virtual console x
- DM_IoPrintFile PRINT_METERED Print file to vir. console x
- " PRINT_METEREDX
- DM_IoBackup BACKUP Backup/erase x
- DM_IoPause IO_PAUSE Wait for key with message x
-
- Drawing services. . . . . . . . . . . . . . . . . . . . . . . . . . x
- DM_IoLine (new) Draw a line x
- DM_IoBox (new) Draw a box x
-
- ANSI menus. . . . . . . . . . . . . . . . . . . . . . . . . . . . . x
- DM_Menu (new) Invoke ANSI menu x
-
- ANSI editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . x
- DM_Edit (new) Edit a block message x
- DM_EditFile (new) Edit a file x
-
- Shared file services. . . . . . . . . . . . . . . . . . . . . . . . x
- DM_FileOpen FILE_OPEN Open a shared file x
- DM_FileClose FILE_CLOSE Close a shared file x
- DM_FileChange FILE_CHANGE Change shared file access x
- DM_FileReset FILE_RESET Reset shared file access x
- DM_FileLog (new) Log message to file x
-
- Error processing services . . . . . . . . . . . . . . . . . . . . . x
- DM_ErrorLog (new) Log error to file x
- DM_ErrorProcess (new) Process standard errors x
-
- Inter node communication services . . . . . . . . . . . . . . . . . x
-
- Multiple session services . . . . . . . . . . . . . . . . . . . . . x
-
- File & directory services . . . . . . . . . . . . . . . . . . . . . x
- DM_FileGDta GET_DTA Get disk transfer address x
- DM_FileSDta SET_DTA Set disk transfer address x
- DM_FileTest (new) Test if file exists x
- DM_FileCKS (new) Get 16 bit checksum x
- DM_FileSearch FSEARCH Find matching files x
- DM_DirSearch DSEARCH Find matching directories x
- DM_FileHide FHIDE Hide a specified file x
- DM_FileUnHide FUNHIDE Unhide a specified file x
-
- Low level BBS services. . . . . . . . . . . . . . . . . . . . . . . x
- DM_BbsNodes IO_OPEN Read BBS node info file x
- DM_BbsRbbs RBBS_READ Read RBBS 16+ user info x
- DM_BbsQbbs QBBS_READ Read QuickBBS user info x
- DM_BbsPcb12 PCBBS_READ Read PCBoard 12.x user info x
- DM_BbsPcb14 PCBBS2_READ Read PCBoard 14.x user info x
- DM_BbsWildcat WCBBS_READ Read Wildcat user info x
- DM_BbsGap GBBS_READ Read GAP BBS user info x
- DM_BbsWwiv WBBS_READ Read WWIV user info x
- DM_Bbs2am (new) Read 2AM user info x
- DM_BbsGtPower (new) Read GTPower user info x
- DM_BbsOpus (new) Read Opus user info x
- DM_BbsPhoenix (new) Read Phoenix BBS user info x
- DM_BbsMilton (new) Read Milton Gameworks info x
- DM_BbsBinary (new) Read Binary user info x
- DM_BbsText (new) Read Text user info x
-
- Main BBS services . . . . . . . . . . . . . . . . . . . . . . . . . x
- DM_BbsInfo READ_BBS_INFO Read BBS user info x
-
- SysOp and user interaction. . . . . . . . . . . . . . . . . . . . . x
- DM_SysopPage PAGE_OPERATOR Page the SysOp x
- DM_SysOpChat CHAT_MODE Chat with word wrap x
-
- Net-Mail services . . . . . . . . . . . . . . . . . . . . . . . . . x
-
- Door Monitor services . . . . . . . . . . . . . . . . . . . . . . . x
- DM_MonRead MON_READ Read monitor config info x
- DM_MonPlayer MON_PLAYER Read monitor user info x
- DM_MonWrite MON_WRITE Write monitor points file x
- DM_MonExit MON_EXIT Exit to monitor x
-
- Time services . . . . . . . . . . . . . . . . . . . . . . . . . . . x
- DM_Delay (new) Delay n 1/10th seconds x
- DM_Sleep SLEEP Delay n seconds x
- DM_GetDate GET_DATE Get current date x
- DM_ConvertDays CVT_DAYS x
- DM_GetTime CUR_TIME x
- DM_ConvertTime CVT_TIME x
- DM_Timeout TEST_TIMEOUT x
- DM_TimeControls TIME_CONTROLS x
- DM_DayControls DAILY_CONTROLS x
-
- SysOp key services. . . . . . . . . . . . . . . . . . . . . . . . . x
-
- DM data structures. . . . . . . . . . . . . . . . . . . . . . . . . x
- File access structures . . . . . . . . . . . . . . . . . . . . . x
- Message access structure . . . . . . . . . . . . . . . . . . . . x
- Time control structures. . . . . . . . . . . . . . . . . . . . . x
- User data structures . . . . . . . . . . . . . . . . . . . . . . x
-
- BBS file structures . . . . . . . . . . . . . . . . . . . . . . . . x
-
- Monitor data structures . . . . . . . . . . . . . . . . . . . . . . x
-
- Time definition file format . . . . . . . . . . . . . . . . . . . . x
-
- Utility programs. . . . . . . . . . . . . . . . . . . . . . . . . . x
- Timegen utility. . . . . . . . . . . . . . . . . . . . . . . . . x
- Genmsg utility . . . . . . . . . . . . . . . . . . . . . . . . . x
- Gencks utility . . . . . . . . . . . . . . . . . . . . . . . . . x
- Serial utility . . . . . . . . . . . . . . . . . . . . . . . . . x
-
- The future of the DM library. . . . . . . . . . . . . . . . . . . . x
-
- Other products from Mycroft Systems . . . . . . . . . . . . . . . . x
-
- In closing . . . . . . . . . . . . . . . . . . . . . . . . . . . . x
-
- ii
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DISCLAIMER
- ----------
-
- This software is provided without any guarantee, either expressed or
- implied. All responsibilities for its use rest with the user of the
- software and not the author.
-
-
- USER NOTICE
- -----------
-
- This software is distributed as a shareware product. You may try this
- software at no charge. If you do use this software package or any part
- of it in writing door applications you are required to register it.
-
- This software may be distributed provided that none of the software
- has been modified or omitted. Distribution is limited to those who
- distribute software at no charge with a copying and mailing charge not
- to exceed $5.
-
-
-
- LICENSE AGREEMENT
- -----------------
-
- Although not a requirement, I would appreciate if you would include the
- following line as part of your game signon:
-
- I/O and BBS functions provided by the Mycroft DM library.
-
- Thanks and have fun.
-
-